<table width="100%" cellpadding="4" cellspacing="0">
{foreach from=$aSongs item=aSong name=song}
    <tr{if $smarty.foreach.song.iteration %2} class="border13"{/if}> 
        <td width="50%">{$smarty.foreach.song.iteration}. {$aSong.musician_name} - <a class="link_description" href="{url link='public.music.song' id=$aSong.song_id}">{$aSong.song_title}</a></td>
        <td width="20%">
            <a class="link_action" href="{url link='public.account.myitems.editmusic.editsong' id=$aSong.song_id}">[ {language text="edit_details"} ]</a>
        </td>
        <td>
        <span style="font-size:8pt;">
        {if $aSong.song_is_approved}  <b> {language text="approved_783"} </b>
        {else} <b> {language text="pending"} </b>
        {/if}
        </span>
        </td>
        
        <td>
            <a href="{url link='public.account.myitems.editmusic.editsong' action=delete_song id=$aSong.song_id}"><img src="design/pic/delete.gif" onmouseover="showInfo2('{language text="delete"}');" onmouseout="return nd();" alt="Delete"></a>
        </td>
    </tr>
{foreachelse}
    <tr>
    <td style="text-align:center" colspan="4" align="center"><div class="message_info">{language text="there_are_no_songs_yet"}</div></td>
    </tr>
{/foreach}
    <tr><td class="catBottom" colspan="4">
        {include file="`$sRootPath`/_blocks/pager.html"}
    </td></tr>
</table>